package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/9 0009.
 */

public class AlipayAuthResponseParams extends ResponseParams<AlipayAuthResponseParams.AlipayAuthResponseData> {

    public static class AlipayAuthResponseData implements Parcelable {

        private String str;

        public AlipayAuthResponseData() {
        }

        protected AlipayAuthResponseData(Parcel in) {
            str = in.readString();
        }

        public static final Creator<AlipayAuthResponseData> CREATOR = new Creator<AlipayAuthResponseData>() {
            @Override
            public AlipayAuthResponseData createFromParcel(Parcel in) {
                return new AlipayAuthResponseData(in);
            }

            @Override
            public AlipayAuthResponseData[] newArray(int size) {
                return new AlipayAuthResponseData[size];
            }
        };

        public String getStr() {
            return str;
        }

        public void setStr(String str) {
            this.str = str;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(str);
        }
    }

}
